<%--
  Created by IntelliJ IDEA.
  User: free
  Date: 2017/8/5
  Time: 6:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <script src="${pageContext.request.contextPath}/resources/js/jquery.min.js" type="text/javascript"></script>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/bootstrap.min.css">
    <script src="${pageContext.request.contextPath}/resources/js/bootstrap.min.js" type="text/javascript"></script>

    <script src="${pageContext.request.contextPath}/resources/js/addClass.js"></script>

    <style>
        ._div{
            width: 350px;
            position: absolute;
            left: 35%;
            right: 35%;
            padding: 10px 30px 10px;
        }
    </style>
</head>
<body>
<jsp:include page="/jsp/teacher/top.jsp"/>
<div class="container">
    <div class="row clearfix">
        <jsp:include page="/jsp/teacher/class/class_title.jsp"/>
        <div class="col-md-10 column" style="float:left;margin-top: 50px">
            <div class="_div">
                <form action="#" method="post" class="bs-example bs-example-form" role="form">
                    <div class="input-group" >
                        <span class="input-group-addon">班级ID</span>
                        <input type="text" class="form-control " onblur="varityClass_id()"  name="class_id" id="class_id"   placeholder="例：41511P">
                    </div>
                    <span id="notice_class_id" class="help-block"></span>
                    <br>
                    <div class="input-group">
                        <span class="input-group-addon">专业</span>
                        <input type="text" class="form-control" name="class_name" id="class_name" placeholder="例：计算机应用技术">
                    </div>
                    <br>
                    <div class="input-group">
                        <span class="input-group-addon">院系</span>
                        <select class="form-control" id="class_department_id" name="class_department_id">

                        </select>
                    </div>
                    <br>

                    <div  class="input-group">
                        <span class="input-group-addon">辅导员</span>
                        <select class="form-control" id="class_teacher_id" name="class_teacher_id">
                        </select>
                    </div>
                    <br>
                    <div class="input-group">
                        <span class="input-group-addon">入学年份</span>
                        <input type="text" class="form-control" name="class_enter_year" id="class_enter_year"  value="">
                    </div>
                    <br>


                    <input class="btn btn-primary btn-lg btn-block" type="button" onclick="addClass()" value="提交">
                    <input class="btn btn-primary btn-lg btn-block" type="reset" value="重置">
                </form>
            </div>
        </div>
    </div>
</div>
</body>
</html>
